package com.smart.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smart.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("project_use_control")
public class ProjectUseControlDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 项目id */
    @TableField("project_id")
    private Long projectId;
    /** 人员管理开通状态 OPENED 已开通，UN_OPEN未开通 */
    @TableField("manage_open_status")
    private String manageOpenStatus;
    /** 人员管理有效期至 */
    @TableField("manage_open_expire")
    private Date manageOpenExpire;
    /** 数据提报开通状态 OPENED 已开通，UN_OPEN未开通 */
    @TableField("report_open_status")
    private String reportOpenStatus;
    /** 数据提报有效期至 */
    @TableField("report_open_expire")
    private Date reportOpenExpire;
    /** 动火作业开通状态 OPENED 已开通，UN_OPEN未开通 */
    @TableField("hot_work_open_status")
    private String hotWorkOpenStatus;
    /** 动火作业有效期至 */
    @TableField("hot_work_open_expire")
    private Date hotWorkOpenExpire;
    /** 作业次数上限 */
    @TableField("hot_work_max")
    private Long hotWorkMax;
    /** 可作业次数 */
    @TableField("hot_work_available_num")
    private Long hotWorkAvailableNum;
}
